<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<meta name="baidu-site-verification" content="JdMif0g2tL" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title>angular</title>
</head>
<body>
<style type="text/css" media="screen">
	*{margin: 0;padding: 0;}
	li{list-style: none;width: 25%;float: left;text-align: center;font-size: 18px;}
	
</style>
<div ng-app="myApp">
	<div ng-controller="myCtrl">
		<input type="text" ng-model="msg">
		<p>{{msg}}</p>
	</div>
</div>

<script type="text/javascript">
	document.getElementsByTagName('html')[0].style.fontSize=window.screen.width/10+'px';
</script>
<script src="../js/angular.min.js" charset="utf-8"></script>
<script type="text/javascript">
	var app =angular.module('myApp', []);
	app.controller('myCtrl', ['$scope', function($scope){
		$scope.msg='你好';
	}])
	.run(function($rootScope,$location){
		console.log($location)
		$location.path('/movie')
	})
</script>
</body>
</html>
<!--应该是14.11，时间-2017-05-08->